/**
 * 广寒宫
 * 网址:www.guanghangong.xyz
 */
package com.moon.admin.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.moon.admin.framework.mybatisplus.entity.TenantEntity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 用户角色
 * @author ninlong
 */
@Getter
@Setter
@TableName("sys_user_role")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysUserRoleEntity extends TenantEntity {

	private static final long serialVersionUID = -3548998086711999731L;
	
	@TableId(type=IdType.AUTO)
	private Integer id;
	
	private Integer userId;
	private Integer roleId;
}
